package model.data;

import lombok.Data;

/**
 * @author 刀氏春秋
 * @date 2023/5/16
 */
@Data
public class Point {
    private Double current;
    private Double voltage;
    private Double power;

    public Point(Double current, Double voltage, Double power) {
        this.current = current;
        this.voltage = voltage;
        this.power = power;
    }

    @Override
    public String toString() {
        return String.format("(%f, %f, %f)", current, voltage, power);
    }
}
